home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
gnu
/
gawk
/
gawk2115.zoo
/
gawk_st
/
NEWS
< prev
next >
Wrap
Text File
|
1994-05-23
|
10KB
|
311 lines
Changes from 2.15.4 to 2.15.5
-----------------------------
FUTURES file updated and re-arranged some with more rational schedule.
Many prototypes handled better for ANSI C in protos.h.
getopt.c updated somewhat.
test/Makefile now removes junk directory, `bardargtest' renamed `badargs.'
Bug fix in iop.c for RS = "". Eat trailing newlines off of record separator.
Bug fix in Makefile.bsd44, use leading tab in actions.
Fix in field.c:set_FS for FS == "\\" and IGNORECASE != 0.
Config files updated or added:
cray60, DEC OSF/1 2.0, Utek, sgi405, next21, next30, atari/config.h,
sco.
Fix in io.c for ENFILE as well as EMFILE, update decl of groupset to
include OSF/1.
Rationalized printing as integers if numbers are outside the range of a long.
Changes to node.c:force_string and builtin.c.
Made internal NF, NR, and FNR variables longs instead of ints.
Add LIMITS_H_MISSING stuff to config.in and awk.h, and default defs for
INT_MAX and LONG_MAX, if no limits.h file. Add a standard decl of
the time() function for __STDC__. From ghazi@noc.rutgers.edu.
Fix tree_eval in awk.h and r_tree_eval in eval.c to deal better with
function parameters, particularly ones that are arrays.
Fix eval.c to print out array names of arrays used in scalar contexts.
Fix eval.c in interpret to zero out source and sourceline initially. This
does a better job of providing source file and line number information.
Fix to re_parse_field in field.c to not use isspace when RS = "", but rather
to explicitly look for blank and tab.
Fix to sc_parse_field in field.c to catch the case of the FS character at the
end of a record.
Lots of miscellanious bug fixes for memory leaks, courtesy Mark Moraes,
also fixes for arrays.
io.c fixed to warn about lack of explicit closes if --lint.
Updated missing/strftime.c to match posted strftime 6.2.
Bug fix in builtin.c, in case of non-match in sub_common.
Updated constant used for division in builtin.c:do_rand for DEC Alpha
and CRAY Y-MP.
POSIXLY_CORRECT in the environment turns on --posix (fixed in main.c).
Updated srandom prototype and calls in builtin.c.
Fix awk.y to enforce posix semantics of unary +: result is numeric.
Fix array.c to not rearrange the hash chain upon finding an index in
the array. This messed things up in cases like:
for (index1 in array) {
blah
if (index2 in array) # blew away the for
stuff
}
Fixed spelling errors in the man page.
Fixes in awk.y so that
gawk '' /path/to/file
will work without core dumping or finding parse errors.
Fix main.c so that --lint will fuss about an empty program.
Yet another fix for argument parsing in the case of unrecognized options.
Bug fix in dfa.c to not attempt to free null pointers.
Bug fix in builtin.c to only use DEFAULT_G_PRECISION for %g or %G.
Bug fix in field.c to achieve call by value semantics for split.
Changes from 2.15.3 to 2.15.4
-----------------------------
Lots of lint fixes, and do_sprintf made mostly ANSI C compatible.
Man page updated and edited.
Copyrights updated.
Arrays now grow dynamically, initially scaling up by an order of magnitude
and then doubling, up to ~ 64K. This should keep gawk's performance
graceful under heavy load.
New `delete array' feature added. Only documented in the man page.
Switched to dfa and regex suites from grep-2.0. These offer the ability to
move to POSIX regexps in the next release.
Disabled GNU regex ops.
Research awk -m option now recognized. It does nothing in gawk, since gawk
has no static limits. Only documented in the man page.
New bionic (faster, better, stronger than before) hashing function.
Bug fix in argument handling. `gawk -X' now notices there was no program.
Additional bug fixes to make --compat and --lint work again.
Many changes for systems where sizeof(int) != sizeof(void *).
Add explicit alloca(0) in io.c to recover space from C alloca.
Fixed file descriptor leak in io.c.
The --version option now follows the GNU coding standards and exits.
Fixed several prototypes in protos.h.
Several tests updated. On Solaris, warn that the out? tests will fail.
Configuration files for SunOS with cc and Solaris 2.x added.
Improved error messages in awk.y on gawk extensions if do_unix or do_compat.
INSTALL file added.
Fixed Atari Makefile and several VMS specific changes.
Better conversion of numbers to strings on systems with broken sprintfs.
Changes from 2.15.2 to 2.15.3
-----------------------------
Increased HASHSIZE to a decent number, 127 was way too small.
FILENAME is now the null string in a BEGIN rule.
Argument processing fixed for invalid options and missing arguments.
This version will build on VMS. This included a fix to close all files
and pipes opened with redirections before closing stdout and stderr.
More getpgrp() defines.
Changes for BSD44: <sys/param.h> in io.c and Makefile.bsd44.
All directories in the distribution are now writable.
Separated LDFLAGS and CFLAGS in Makefile. CFLAGS can now be overridden by
user.
Make dist now builds compressed archives ending in .gz and runs doschk.
Amiga port.
New getopt.c fixes Alpha OSF/1 problem.
Make clean now removes possible test output.
Improved algorithm for multiple adjacent string concatenations leads to
performance improvements.
Fix nasty bug whereby command-line assignments, both with -v and at run time,
could create variables with syntactically illegal names.
Fix obscure bug in printf with %0 flag and filling.
Add a lint check for substr if provided length exceeds remaining characters
in string.
Update atari support.
PC support enhanced to include support for both DOS and OS/2. (Lots more
#ifdefs. Sigh.)
Config files for Hitachi Unix and OSF/1, courtesy of Yoko Morishita
(morisita@sra.co.jp)
Changes from 2.15.1 to 2.15.2
-----------------------------
Additions to the FUTURES file.
Document undefined order of output when using both standard output
and /dev/stdout or any of the /dev output files that gawk emulates in
the absence of OS support.
Clean up the distribution generation in Makefile.in: the info files are
now included, the distributed files are marked read-only and patched
distributions are now unpacked in a directory named with the patch level.
Changes from 2.15 to 2.15.1
---------------------------
Close stdout and stderr before all redirections on program exit. This allows
detection of write errors and also fixes the messages test on Solaris 2.x.
Removed YYMAXDEPTH define in awk.y which was limiting the parser stack depth.
Changes to config/bsd44, Makefile.bsd44 and configure to bring it into line
with the BSD4.4 release.
Changed Makefile to use prefix, exec_prefix, bindir etc.
make install now installs info files.
make install now sets permissions on installed files.
Make targets added: uninstall, distclean, mostlyclean and realclean.
Added config.h to cleaner and clobber make targets.
Changes to config/{hpux8x,sysv3,sysv4,ultrix41} to deal with alloca().
Change to getopt.h for portability.
Added more special cases to the getpgrp() call.
Added README.ibmrt-aos and config/ibmrt-aos.
Changes from 2.14 to 2.15
---------------------------
Command-line source can now be mixed with library functions.
ARGIND variable tracks index in ARGV of FILENAME.
GNU style long options in addition to short options.
Plan 9 style special files interpreted by gawk:
/dev/pid
/dev/ppid
/dev/pgrpid
/dev/user
$1 = getuid
$2 = geteuid
$3 = getgid
$4 = getegid
$5 ... $NF = getgroups if supported
ERRNO variable contains error string if getline or close fails.
Very old options -a and -e have gone away.
Inftest has been removed from the default target in test/Makefile -- the
results were too machine specific and resulted in too many false alarms.
A README.amiga has been added